package Task4;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别

        int[] elem = new int[4];
        //A-B B-C A+B B+C
        // 0   1   2   3   分别对应数组下标
        for (int i = 0; i < elem.length; i++) {
            elem[i] = in.nextInt();
        }
        int A = (elem[0] + elem[2]) / 2;
        int B = (elem[1] + elem[3]) / 2;
        int C = (elem[3] - elem[1]) / 2;
        int B1 = (elem[2] - elem[0])/ 2;
        if (B1 == B) {
            System.out.println(A + " " + B + " " + C + " ");
        } else {
            System.out.println("No");
        }

    }
}
